import request from '@/utils/request'

// 查询活动展示列表
export function listActivitylist(query) {
  return request({
    url: '/showlist/activitylist/list',
    method: 'get',
    params: query
  })
}

// 查询活动展示详细
export function getActivitylist(activityid) {
  return request({
    url: '/showlist/activitylist/' + activityid,
    method: 'get'
  })
}

// 新增活动展示
export function addActivitylist(data) {
  return request({
    url: '/showlist/activitylist',
    method: 'post',
    data: data
  })
}

// 修改活动展示
export function updateActivitylist(data) {
  return request({
    url: '/showlist/activitylist',
    method: 'put',
    data: data
  })
}

// 删除活动展示
export function delActivitylist(activityid) {
  return request({
    url: '/showlist/activitylist/' + activityid,
    method: 'delete'
  })
}
